package com.kly.sc.api.application.controller.user;

import com.fqgj.common.api.Response;
import com.kly.user.dto.UserTurnOnsDto;
import com.kly.user.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
@RestController
@RequestMapping("/api/users")
public class TurnOnsController {

    @Resource
    private UserService userService;

    @ResponseBody
    @RequestMapping(value = "/userTurnOnsList")
    public Response getuserTurnOnsList() {
        return Response.ok(userService.getuserTurnOnsList());
    }

}
